import type { GoodsResult } from "@/types/goods"
import { http } from "@/utils/request"

export const getGoodsDetailAPI = (id: string) => {
  return http<GoodsResult>({
    url: '/goods',
    method: 'GET',
    data: { id }
  })
}
